IO-APIC: Prevent using EOI broadcast suppression if user specified ioapic_ack=new...
authorAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 23 Feb 2012 09:58:47 +0000 (09:58 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 23 Feb 2012 09:58:47 +0000 (09:58 +0000)
commit23c3c39665e641c17bc02a411e1a483554393610
tree774fe4a42bcfe64ab7e62abc849cc1be1b862713
parentd77aed8fdabdf67f6af144d90ed791d56ec1b85f
IO-APIC: Prevent using EOI broadcast suppression if user specified ioapic_ack=new on the command line.

Currently, if EOI broadcast suppression is advertised on the BSP
LAPIC, Xen will discard any user specified option regarding IO-APIC
ack mode.

This patch introduces a check which prevents EOI Broadcast suppression
from forcing the IO-APIC ack mode to old if the user has explicitly
asked for the new ack mode on the command line.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Committed-by: Keir Fraser <keir@xen.org>
xen/arch/x86/apic.c
xen/arch/x86/io_apic.c
xen/include/asm-x86/io_apic.h